package cn.edu.scau.cmi.chenjia.clientFxml;

import javafx.fxml.FXML;
import cn.edu.scau.cmi.chenjia.client.*;
import cn.edu.scau.cmi.chenjia.interProgramming.*;

import javafx.scene.control.Button;

import javafx.scene.control.TextArea;

public class InterProgrammingUIController {
	@FXML
	private Button bt;
	@FXML
	private TextArea t1;

	public void button() {
		String str;
		Student graduateStudent=new GraduateStudent();
		str=graduateStudent.learning();
		t1.appendText(str+'\n');
		Student undergraduateStudent=new UndergraduateStudent();
		str=undergraduateStudent.learning();
		t1.appendText(str+'\n');

	}
}
